//
//  HomeViewTopCell.h
//  StormWatch
//
//  Created by 王岩 on 2024/8/30.
//

#import <UIKit/UIKit.h>
#import "ZZCircleProgress.h"
NS_ASSUME_NONNULL_BEGIN

@protocol HomeTopCellDelegate <NSObject>

- (void)clickCircleView;
- (void)clickHotView;
- (void)clickDistanceView;

@end

@interface HomeViewTopCell : UICollectionViewCell
@property (weak, nonatomic) IBOutlet ZZCircleProgress *circleProgressView;

@property (weak, nonatomic) id<HomeTopCellDelegate> delegate;

@property (weak, nonatomic) IBOutlet UILabel *hotValueLab;

@property (weak, nonatomic) IBOutlet UILabel *hotUnitLab;
@property (weak, nonatomic) IBOutlet UILabel *hotLab;

@property (weak, nonatomic) IBOutlet UILabel *distanceValueLab;
@property (weak, nonatomic) IBOutlet UILabel *distanceUnitLab;
@property (weak, nonatomic) IBOutlet UILabel *distanceLab;


- (void)updateTheme;

- (void)updateValueStep:(NSString *)step Distance:(NSString *)distance Hot:(NSString *)hot;

@end

NS_ASSUME_NONNULL_END
